package com.vicene.gmail.member.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.vicene.gmail.common.utils.PageUtils;
import com.vicene.gmail.member.entity.MemberEntity;
import com.vicene.gmail.member.vo.MemberLoginVo;
import com.vicene.gmail.member.vo.MemberRegistVo;
import com.vicene.gmail.member.vo.WeiBoAuth;

import java.util.Map;

/**
 * 会员
 *
 * @author vicene
 * @email 505543479@qq.com
 * @date 2020-10-16 15:09:12
 */
public interface MemberService extends IService<MemberEntity> {

    PageUtils queryPage(Map<String, Object> params);

    void regist(MemberRegistVo vo);

    void checkPhoneUnique(String phone);

    void checkUsernameUnique(String userName);

    MemberEntity login(MemberLoginVo vo);

    MemberEntity login(WeiBoAuth vo);

}

